package cn.getech.data.development.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class CMClusterDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("cdh版本")
    private String cdhVersion;

    @ApiModelProperty("集群名称")
    private String clusterName;

    @ApiModelProperty("host唯一标识")
    private String hostId;

    @ApiModelProperty("host名称")
    private String hostName;

    @ApiModelProperty("内核")
    private Integer numCores;

    @ApiModelProperty("cup使用率")
    private Double cpuPercentAcross;

    @ApiModelProperty("物理内存百分比")
    private Double physicalMemoryPercentageUsed;

    @ApiModelProperty("物理内存总量")
    private Double physicalMemoryTotal;

    @ApiModelProperty("物理内存使用量")
    private Double physicalMemoryUsed;

    @ApiModelProperty("磁盘百分比")
    private Double diskPercentageUsed;

    @ApiModelProperty("磁盘总量")
    private Double diskTotal;

    @ApiModelProperty("磁盘使用量")
    private Double diskUsed;



    @ApiModelProperty("集群个数")
    private Integer clusterNum;

    @ApiModelProperty("总共磁盘百分比")
    private Double diskPercentageUsedSum;

    @ApiModelProperty("总共磁盘总量")
    private Double diskTotalSum;

    @ApiModelProperty("总共磁盘使用量")
    private Double diskUsedSum;

    @ApiModelProperty("总共物理内存百分比")
    private Double physicalMemoryPercentageUsedSum;

    @ApiModelProperty("总共物理内存总量")
    private Double physicalMemoryTotalSum;

    @ApiModelProperty("总共物理内存使用量")
    private Double physicalMemoryUsedSum;

    @ApiModelProperty("队列个数")
    private Integer queueNum;

    @ApiModelProperty("io读")
    private Double totalReadIosRate;

    @ApiModelProperty("io写")
    private Double totalWriteIosRate;

}
